package com.dz.lm.domain.userapply;

import java.util.ArrayList;
import java.util.List;

public class UserApplyExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public UserApplyExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andApplyIdIsNull() {
            addCriterion("apply_id is null");
            return (Criteria) this;
        }

        public Criteria andApplyIdIsNotNull() {
            addCriterion("apply_id is not null");
            return (Criteria) this;
        }

        public Criteria andApplyIdEqualTo(Integer value) {
            addCriterion("apply_id =", value, "applyId");
            return (Criteria) this;
        }

        public Criteria andApplyIdNotEqualTo(Integer value) {
            addCriterion("apply_id <>", value, "applyId");
            return (Criteria) this;
        }

        public Criteria andApplyIdGreaterThan(Integer value) {
            addCriterion("apply_id >", value, "applyId");
            return (Criteria) this;
        }

        public Criteria andApplyIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("apply_id >=", value, "applyId");
            return (Criteria) this;
        }

        public Criteria andApplyIdLessThan(Integer value) {
            addCriterion("apply_id <", value, "applyId");
            return (Criteria) this;
        }

        public Criteria andApplyIdLessThanOrEqualTo(Integer value) {
            addCriterion("apply_id <=", value, "applyId");
            return (Criteria) this;
        }

        public Criteria andApplyIdIn(List<Integer> values) {
            addCriterion("apply_id in", values, "applyId");
            return (Criteria) this;
        }

        public Criteria andApplyIdNotIn(List<Integer> values) {
            addCriterion("apply_id not in", values, "applyId");
            return (Criteria) this;
        }

        public Criteria andApplyIdBetween(Integer value1, Integer value2) {
            addCriterion("apply_id between", value1, value2, "applyId");
            return (Criteria) this;
        }

        public Criteria andApplyIdNotBetween(Integer value1, Integer value2) {
            addCriterion("apply_id not between", value1, value2, "applyId");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Integer value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Integer value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Integer value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Integer value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Integer value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Integer> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Integer> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Integer value1, Integer value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andSupUserIdIsNull() {
            addCriterion("sup_user_id is null");
            return (Criteria) this;
        }

        public Criteria andSupUserIdIsNotNull() {
            addCriterion("sup_user_id is not null");
            return (Criteria) this;
        }

        public Criteria andSupUserIdEqualTo(Integer value) {
            addCriterion("sup_user_id =", value, "supUserId");
            return (Criteria) this;
        }

        public Criteria andSupUserIdNotEqualTo(Integer value) {
            addCriterion("sup_user_id <>", value, "supUserId");
            return (Criteria) this;
        }

        public Criteria andSupUserIdGreaterThan(Integer value) {
            addCriterion("sup_user_id >", value, "supUserId");
            return (Criteria) this;
        }

        public Criteria andSupUserIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("sup_user_id >=", value, "supUserId");
            return (Criteria) this;
        }

        public Criteria andSupUserIdLessThan(Integer value) {
            addCriterion("sup_user_id <", value, "supUserId");
            return (Criteria) this;
        }

        public Criteria andSupUserIdLessThanOrEqualTo(Integer value) {
            addCriterion("sup_user_id <=", value, "supUserId");
            return (Criteria) this;
        }

        public Criteria andSupUserIdIn(List<Integer> values) {
            addCriterion("sup_user_id in", values, "supUserId");
            return (Criteria) this;
        }

        public Criteria andSupUserIdNotIn(List<Integer> values) {
            addCriterion("sup_user_id not in", values, "supUserId");
            return (Criteria) this;
        }

        public Criteria andSupUserIdBetween(Integer value1, Integer value2) {
            addCriterion("sup_user_id between", value1, value2, "supUserId");
            return (Criteria) this;
        }

        public Criteria andSupUserIdNotBetween(Integer value1, Integer value2) {
            addCriterion("sup_user_id not between", value1, value2, "supUserId");
            return (Criteria) this;
        }

        public Criteria andAgentUidIsNull() {
            addCriterion("agent_uid is null");
            return (Criteria) this;
        }

        public Criteria andAgentUidIsNotNull() {
            addCriterion("agent_uid is not null");
            return (Criteria) this;
        }

        public Criteria andAgentUidEqualTo(Integer value) {
            addCriterion("agent_uid =", value, "agentUid");
            return (Criteria) this;
        }

        public Criteria andAgentUidNotEqualTo(Integer value) {
            addCriterion("agent_uid <>", value, "agentUid");
            return (Criteria) this;
        }

        public Criteria andAgentUidGreaterThan(Integer value) {
            addCriterion("agent_uid >", value, "agentUid");
            return (Criteria) this;
        }

        public Criteria andAgentUidGreaterThanOrEqualTo(Integer value) {
            addCriterion("agent_uid >=", value, "agentUid");
            return (Criteria) this;
        }

        public Criteria andAgentUidLessThan(Integer value) {
            addCriterion("agent_uid <", value, "agentUid");
            return (Criteria) this;
        }

        public Criteria andAgentUidLessThanOrEqualTo(Integer value) {
            addCriterion("agent_uid <=", value, "agentUid");
            return (Criteria) this;
        }

        public Criteria andAgentUidIn(List<Integer> values) {
            addCriterion("agent_uid in", values, "agentUid");
            return (Criteria) this;
        }

        public Criteria andAgentUidNotIn(List<Integer> values) {
            addCriterion("agent_uid not in", values, "agentUid");
            return (Criteria) this;
        }

        public Criteria andAgentUidBetween(Integer value1, Integer value2) {
            addCriterion("agent_uid between", value1, value2, "agentUid");
            return (Criteria) this;
        }

        public Criteria andAgentUidNotBetween(Integer value1, Integer value2) {
            addCriterion("agent_uid not between", value1, value2, "agentUid");
            return (Criteria) this;
        }

        public Criteria andSubUserIdIsNull() {
            addCriterion("sub_user_id is null");
            return (Criteria) this;
        }

        public Criteria andSubUserIdIsNotNull() {
            addCriterion("sub_user_id is not null");
            return (Criteria) this;
        }

        public Criteria andSubUserIdEqualTo(Integer value) {
            addCriterion("sub_user_id =", value, "subUserId");
            return (Criteria) this;
        }

        public Criteria andSubUserIdNotEqualTo(Integer value) {
            addCriterion("sub_user_id <>", value, "subUserId");
            return (Criteria) this;
        }

        public Criteria andSubUserIdGreaterThan(Integer value) {
            addCriterion("sub_user_id >", value, "subUserId");
            return (Criteria) this;
        }

        public Criteria andSubUserIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("sub_user_id >=", value, "subUserId");
            return (Criteria) this;
        }

        public Criteria andSubUserIdLessThan(Integer value) {
            addCriterion("sub_user_id <", value, "subUserId");
            return (Criteria) this;
        }

        public Criteria andSubUserIdLessThanOrEqualTo(Integer value) {
            addCriterion("sub_user_id <=", value, "subUserId");
            return (Criteria) this;
        }

        public Criteria andSubUserIdIn(List<Integer> values) {
            addCriterion("sub_user_id in", values, "subUserId");
            return (Criteria) this;
        }

        public Criteria andSubUserIdNotIn(List<Integer> values) {
            addCriterion("sub_user_id not in", values, "subUserId");
            return (Criteria) this;
        }

        public Criteria andSubUserIdBetween(Integer value1, Integer value2) {
            addCriterion("sub_user_id between", value1, value2, "subUserId");
            return (Criteria) this;
        }

        public Criteria andSubUserIdNotBetween(Integer value1, Integer value2) {
            addCriterion("sub_user_id not between", value1, value2, "subUserId");
            return (Criteria) this;
        }

        public Criteria andProductIdIsNull() {
            addCriterion("product_id is null");
            return (Criteria) this;
        }

        public Criteria andProductIdIsNotNull() {
            addCriterion("product_id is not null");
            return (Criteria) this;
        }

        public Criteria andProductIdEqualTo(Integer value) {
            addCriterion("product_id =", value, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdNotEqualTo(Integer value) {
            addCriterion("product_id <>", value, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdGreaterThan(Integer value) {
            addCriterion("product_id >", value, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("product_id >=", value, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdLessThan(Integer value) {
            addCriterion("product_id <", value, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdLessThanOrEqualTo(Integer value) {
            addCriterion("product_id <=", value, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdIn(List<Integer> values) {
            addCriterion("product_id in", values, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdNotIn(List<Integer> values) {
            addCriterion("product_id not in", values, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdBetween(Integer value1, Integer value2) {
            addCriterion("product_id between", value1, value2, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdNotBetween(Integer value1, Integer value2) {
            addCriterion("product_id not between", value1, value2, "productId");
            return (Criteria) this;
        }

        public Criteria andAmountIsNull() {
            addCriterion("amount is null");
            return (Criteria) this;
        }

        public Criteria andAmountIsNotNull() {
            addCriterion("amount is not null");
            return (Criteria) this;
        }

        public Criteria andAmountEqualTo(Double value) {
            addCriterion("amount =", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountNotEqualTo(Double value) {
            addCriterion("amount <>", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountGreaterThan(Double value) {
            addCriterion("amount >", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountGreaterThanOrEqualTo(Double value) {
            addCriterion("amount >=", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountLessThan(Double value) {
            addCriterion("amount <", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountLessThanOrEqualTo(Double value) {
            addCriterion("amount <=", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountIn(List<Double> values) {
            addCriterion("amount in", values, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountNotIn(List<Double> values) {
            addCriterion("amount not in", values, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountBetween(Double value1, Double value2) {
            addCriterion("amount between", value1, value2, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountNotBetween(Double value1, Double value2) {
            addCriterion("amount not between", value1, value2, "amount");
            return (Criteria) this;
        }

        public Criteria andRePointIsNull() {
            addCriterion("re_point is null");
            return (Criteria) this;
        }

        public Criteria andRePointIsNotNull() {
            addCriterion("re_point is not null");
            return (Criteria) this;
        }

        public Criteria andRePointEqualTo(Double value) {
            addCriterion("re_point =", value, "rePoint");
            return (Criteria) this;
        }

        public Criteria andRePointNotEqualTo(Double value) {
            addCriterion("re_point <>", value, "rePoint");
            return (Criteria) this;
        }

        public Criteria andRePointGreaterThan(Double value) {
            addCriterion("re_point >", value, "rePoint");
            return (Criteria) this;
        }

        public Criteria andRePointGreaterThanOrEqualTo(Double value) {
            addCriterion("re_point >=", value, "rePoint");
            return (Criteria) this;
        }

        public Criteria andRePointLessThan(Double value) {
            addCriterion("re_point <", value, "rePoint");
            return (Criteria) this;
        }

        public Criteria andRePointLessThanOrEqualTo(Double value) {
            addCriterion("re_point <=", value, "rePoint");
            return (Criteria) this;
        }

        public Criteria andRePointIn(List<Double> values) {
            addCriterion("re_point in", values, "rePoint");
            return (Criteria) this;
        }

        public Criteria andRePointNotIn(List<Double> values) {
            addCriterion("re_point not in", values, "rePoint");
            return (Criteria) this;
        }

        public Criteria andRePointBetween(Double value1, Double value2) {
            addCriterion("re_point between", value1, value2, "rePoint");
            return (Criteria) this;
        }

        public Criteria andRePointNotBetween(Double value1, Double value2) {
            addCriterion("re_point not between", value1, value2, "rePoint");
            return (Criteria) this;
        }

        public Criteria andApplyDtoIsNull() {
            addCriterion("apply_dto is null");
            return (Criteria) this;
        }

        public Criteria andApplyDtoIsNotNull() {
            addCriterion("apply_dto is not null");
            return (Criteria) this;
        }

        public Criteria andApplyDtoEqualTo(Integer value) {
            addCriterion("apply_dto =", value, "applyDto");
            return (Criteria) this;
        }

        public Criteria andApplyDtoNotEqualTo(Integer value) {
            addCriterion("apply_dto <>", value, "applyDto");
            return (Criteria) this;
        }

        public Criteria andApplyDtoGreaterThan(Integer value) {
            addCriterion("apply_dto >", value, "applyDto");
            return (Criteria) this;
        }

        public Criteria andApplyDtoGreaterThanOrEqualTo(Integer value) {
            addCriterion("apply_dto >=", value, "applyDto");
            return (Criteria) this;
        }

        public Criteria andApplyDtoLessThan(Integer value) {
            addCriterion("apply_dto <", value, "applyDto");
            return (Criteria) this;
        }

        public Criteria andApplyDtoLessThanOrEqualTo(Integer value) {
            addCriterion("apply_dto <=", value, "applyDto");
            return (Criteria) this;
        }

        public Criteria andApplyDtoIn(List<Integer> values) {
            addCriterion("apply_dto in", values, "applyDto");
            return (Criteria) this;
        }

        public Criteria andApplyDtoNotIn(List<Integer> values) {
            addCriterion("apply_dto not in", values, "applyDto");
            return (Criteria) this;
        }

        public Criteria andApplyDtoBetween(Integer value1, Integer value2) {
            addCriterion("apply_dto between", value1, value2, "applyDto");
            return (Criteria) this;
        }

        public Criteria andApplyDtoNotBetween(Integer value1, Integer value2) {
            addCriterion("apply_dto not between", value1, value2, "applyDto");
            return (Criteria) this;
        }

        public Criteria andUrlsIsNull() {
            addCriterion("urls is null");
            return (Criteria) this;
        }

        public Criteria andUrlsIsNotNull() {
            addCriterion("urls is not null");
            return (Criteria) this;
        }

        public Criteria andUrlsEqualTo(String value) {
            addCriterion("urls =", value, "urls");
            return (Criteria) this;
        }

        public Criteria andUrlsNotEqualTo(String value) {
            addCriterion("urls <>", value, "urls");
            return (Criteria) this;
        }

        public Criteria andUrlsGreaterThan(String value) {
            addCriterion("urls >", value, "urls");
            return (Criteria) this;
        }

        public Criteria andUrlsGreaterThanOrEqualTo(String value) {
            addCriterion("urls >=", value, "urls");
            return (Criteria) this;
        }

        public Criteria andUrlsLessThan(String value) {
            addCriterion("urls <", value, "urls");
            return (Criteria) this;
        }

        public Criteria andUrlsLessThanOrEqualTo(String value) {
            addCriterion("urls <=", value, "urls");
            return (Criteria) this;
        }

        public Criteria andUrlsLike(String value) {
            addCriterion("urls like", value, "urls");
            return (Criteria) this;
        }

        public Criteria andUrlsNotLike(String value) {
            addCriterion("urls not like", value, "urls");
            return (Criteria) this;
        }

        public Criteria andUrlsIn(List<String> values) {
            addCriterion("urls in", values, "urls");
            return (Criteria) this;
        }

        public Criteria andUrlsNotIn(List<String> values) {
            addCriterion("urls not in", values, "urls");
            return (Criteria) this;
        }

        public Criteria andUrlsBetween(String value1, String value2) {
            addCriterion("urls between", value1, value2, "urls");
            return (Criteria) this;
        }

        public Criteria andUrlsNotBetween(String value1, String value2) {
            addCriterion("urls not between", value1, value2, "urls");
            return (Criteria) this;
        }

        public Criteria andAgnetDtoIsNull() {
            addCriterion("agnet_dto is null");
            return (Criteria) this;
        }

        public Criteria andAgnetDtoIsNotNull() {
            addCriterion("agnet_dto is not null");
            return (Criteria) this;
        }

        public Criteria andAgnetDtoEqualTo(Integer value) {
            addCriterion("agnet_dto =", value, "agnetDto");
            return (Criteria) this;
        }

        public Criteria andAgnetDtoNotEqualTo(Integer value) {
            addCriterion("agnet_dto <>", value, "agnetDto");
            return (Criteria) this;
        }

        public Criteria andAgnetDtoGreaterThan(Integer value) {
            addCriterion("agnet_dto >", value, "agnetDto");
            return (Criteria) this;
        }

        public Criteria andAgnetDtoGreaterThanOrEqualTo(Integer value) {
            addCriterion("agnet_dto >=", value, "agnetDto");
            return (Criteria) this;
        }

        public Criteria andAgnetDtoLessThan(Integer value) {
            addCriterion("agnet_dto <", value, "agnetDto");
            return (Criteria) this;
        }

        public Criteria andAgnetDtoLessThanOrEqualTo(Integer value) {
            addCriterion("agnet_dto <=", value, "agnetDto");
            return (Criteria) this;
        }

        public Criteria andAgnetDtoIn(List<Integer> values) {
            addCriterion("agnet_dto in", values, "agnetDto");
            return (Criteria) this;
        }

        public Criteria andAgnetDtoNotIn(List<Integer> values) {
            addCriterion("agnet_dto not in", values, "agnetDto");
            return (Criteria) this;
        }

        public Criteria andAgnetDtoBetween(Integer value1, Integer value2) {
            addCriterion("agnet_dto between", value1, value2, "agnetDto");
            return (Criteria) this;
        }

        public Criteria andAgnetDtoNotBetween(Integer value1, Integer value2) {
            addCriterion("agnet_dto not between", value1, value2, "agnetDto");
            return (Criteria) this;
        }

        public Criteria andHandleDtoIsNull() {
            addCriterion("handle_dto is null");
            return (Criteria) this;
        }

        public Criteria andHandleDtoIsNotNull() {
            addCriterion("handle_dto is not null");
            return (Criteria) this;
        }

        public Criteria andHandleDtoEqualTo(Integer value) {
            addCriterion("handle_dto =", value, "handleDto");
            return (Criteria) this;
        }

        public Criteria andHandleDtoNotEqualTo(Integer value) {
            addCriterion("handle_dto <>", value, "handleDto");
            return (Criteria) this;
        }

        public Criteria andHandleDtoGreaterThan(Integer value) {
            addCriterion("handle_dto >", value, "handleDto");
            return (Criteria) this;
        }

        public Criteria andHandleDtoGreaterThanOrEqualTo(Integer value) {
            addCriterion("handle_dto >=", value, "handleDto");
            return (Criteria) this;
        }

        public Criteria andHandleDtoLessThan(Integer value) {
            addCriterion("handle_dto <", value, "handleDto");
            return (Criteria) this;
        }

        public Criteria andHandleDtoLessThanOrEqualTo(Integer value) {
            addCriterion("handle_dto <=", value, "handleDto");
            return (Criteria) this;
        }

        public Criteria andHandleDtoIn(List<Integer> values) {
            addCriterion("handle_dto in", values, "handleDto");
            return (Criteria) this;
        }

        public Criteria andHandleDtoNotIn(List<Integer> values) {
            addCriterion("handle_dto not in", values, "handleDto");
            return (Criteria) this;
        }

        public Criteria andHandleDtoBetween(Integer value1, Integer value2) {
            addCriterion("handle_dto between", value1, value2, "handleDto");
            return (Criteria) this;
        }

        public Criteria andHandleDtoNotBetween(Integer value1, Integer value2) {
            addCriterion("handle_dto not between", value1, value2, "handleDto");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andTemplateIsNull() {
            addCriterion("template is null");
            return (Criteria) this;
        }

        public Criteria andTemplateIsNotNull() {
            addCriterion("template is not null");
            return (Criteria) this;
        }

        public Criteria andTemplateEqualTo(String value) {
            addCriterion("template =", value, "template");
            return (Criteria) this;
        }

        public Criteria andTemplateNotEqualTo(String value) {
            addCriterion("template <>", value, "template");
            return (Criteria) this;
        }

        public Criteria andTemplateGreaterThan(String value) {
            addCriterion("template >", value, "template");
            return (Criteria) this;
        }

        public Criteria andTemplateGreaterThanOrEqualTo(String value) {
            addCriterion("template >=", value, "template");
            return (Criteria) this;
        }

        public Criteria andTemplateLessThan(String value) {
            addCriterion("template <", value, "template");
            return (Criteria) this;
        }

        public Criteria andTemplateLessThanOrEqualTo(String value) {
            addCriterion("template <=", value, "template");
            return (Criteria) this;
        }

        public Criteria andTemplateLike(String value) {
            addCriterion("template like", value, "template");
            return (Criteria) this;
        }

        public Criteria andTemplateNotLike(String value) {
            addCriterion("template not like", value, "template");
            return (Criteria) this;
        }

        public Criteria andTemplateIn(List<String> values) {
            addCriterion("template in", values, "template");
            return (Criteria) this;
        }

        public Criteria andTemplateNotIn(List<String> values) {
            addCriterion("template not in", values, "template");
            return (Criteria) this;
        }

        public Criteria andTemplateBetween(String value1, String value2) {
            addCriterion("template between", value1, value2, "template");
            return (Criteria) this;
        }

        public Criteria andTemplateNotBetween(String value1, String value2) {
            addCriterion("template not between", value1, value2, "template");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(String value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(String value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(String value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(String value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(String value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(String value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLike(String value) {
            addCriterion("update_time like", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotLike(String value) {
            addCriterion("update_time not like", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<String> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<String> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(String value1, String value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(String value1, String value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(String value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(String value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(String value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(String value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(String value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(String value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLike(String value) {
            addCriterion("create_time like", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotLike(String value) {
            addCriterion("create_time not like", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<String> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<String> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(String value1, String value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(String value1, String value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}